/*-----BACKGROUND COLOR/FONT SIZE AND COLOR-----*/
body {
	font: 102% "Trebuchet MS", Tahoma, Verdana, Helvetica;
	background:/*#67727b*/ #FFFFFF;
	letter-spacing: normal;
	font-size: small;
}

/*-----ALL NON PARAGRAPH TEXT COLORS-----*/
td {
	color: #666;
}
/*-----ALL PARAGRAPH TEXT COLORS-----*/
p {
	color: #666;
}
td {
	color: #666;
}

/*-----LINK TEXT COLORS-----*/
a {
	text-decoration: none;
	color: #000000;
}

p a, ul a {
	color: #315F98;
	text-decoration: underline;
}

p a:hover, ul a:hover {
	color: #fff;
	/*background: #315F98;*/
	text-decoration:none;
	}

table.contentpaneopen span a {
	color: #315F98;
	text-decoration: underline;
}
table.contentpaneopen span a:hover {
	/*color: #fff;
	background: #315F98;
	text-decoration: none;*/
}
a.category {
	/*color: #315F98;*/
	text-decoration: underline;
}
a.category:hover {
	/*color: #fff;*/
	background: #315F98;
	text-decoration: none;
}

/* ---main body---*/

#mainbody {
	height: inherit;
	/*float: left;*/
	margin: 0px;
	padding: 0px;
	/*width: 498px !important;*/
	/*text-align: justify;*/
	/*background: #fff;*/
	/*border: #B7B7B7 solid 1px;*/
	/*position:relative;
	bottom:20px;*/
	width:100%;
	
	/*position:relative;
	left:1%;*/
	}

#mainbody .inside {
	margin: 0;
	padding: 0;
	}
/*
#mainbody .inside .contentheading a{
	text-align:center;
}*/

#mainbody ul {
	padding-left: 20px;
}

/* header line */
/*-----INTERIOR BACKGROUND COLOR (REQUIRES IMAGE CHANGE TOO)-----*/
#wrapper {
	/*background: #FFF url(../images/main_bg.png) repeat-y center;*/
	margin: 0px auto 0 auto;
	padding: 0px 0px 0px 0px;
	float: left;
	width: 100%;
	/*position:relative;
	right:0%;
	top:0.4%;*/
}

/*-----SPECIAL LIST STYLE (CHANGE OR ADD ANOTHER)-----*/
ul#checklist li {
	padding: 0px 0px 2px 18px;
	background: url(../images/tick.png) no-repeat left center;
	list-style: none;
	line-height: 16px;
}

ul#checklist a {
	/*padding:1px;*/
	color: #315F98;
	text-decoration: underline;
}
ul#checklist a:hover {
	/*color: #fff;*/
	background: #315F98;
	text-decoration: none;
}
/*-----EXTRA FOR XHTML VALIDATION-----*/

ul#checklist2 li {
	padding: 0px 0px 2px 18px;
	background: url(../images/tick.png) no-repeat left center;
}

ul#checklist2 a {
	/*padding: 1px;*/
	color: #315F98;
	text-decoration: underline;
}
ul#checklist2 a:hover {
	/*color: #fff;*/
	/*background: #315F98*/;
	text-decoration: none;
}

/*-----BLOCKQUOTE STYLE-----*/
blockquote {
	background: /*#fffee4*/ #FFFFFF;
	color: #333;
	border:0px;
	border-left: 3px solid /*#d5d5d5*/ #315F98;
	padding: 10px;
	margin: 10px 0px 10px 30px;
}

/* CONTENT HEADINGS */
td.contentheading {
	font: 1.75em Helvetica, Arial, Verdana, serif;
	color: #315F98;
	border-bottom: 1px solid #eee;
}

/* COMPONENT HEADINGS */
.componentheading {
	font: 1.75em Helvetica, Arial, Verdana, serif;
	color: #315F98;
	border-bottom: none;
}

/* CONTENT HEADING LINK COLOR */
a.contentpagetitle, .contentpagetitle a, .contentpagetitle a:visited {
	color: #315F98;
	font: 1.25em "Trebuchet MS", Tahoma, Verdana, Helvetica;
}

/* CONTENT HEADING LINK HOVER COLOR */
a.contentpagetitle:hover, .contentpagetitle a:hover {
	color: #333;
	font: 1.25em "Trebuchet MS", Tahoma, Verdana, Helvetica;
}

/* SECTION TABLE HEADER STYLE */
td.sectiontableheader {
	/*background: #315F98 /*url(../images/sectblhdr.png) repeat-x top;*/
	color: #FFF;
	font-weight: bold;
	height: 22px;
	/*padding: 4px;*/
}

/* ALTERNATING SECTION TABLE ROW 1 BACKGROUND/TEXT STYLES */
tr.sectiontableentry1 td {
	padding: 2px;
	background-color: #fbfbfb;
	text-align: left;
	border-bottom: 1px solid #fff;
	border-top: 1px solid #dfdfdf;
}

/* ALTERNATING SECTION TABLE ROW 2 BACKGROUND/TEXT STYLES */
tr.sectiontableentry2 td {
	padding: 2px;
	background-color: #f3f3f3;
	text-align: left;
	border-top: 1px solid #dfdfdf;
	border-bottom: 1px solid #fff;
}

/* SECTION TABLE LINK STYLES */
.sectiontableentry2 a, .sectiontableentry1 a, .sectiontableentry2 a.category, .sectiontableentry1 a.category {
	color: #315F98;
	padding-left: 4px;
	text-decoration:none;
}
.sectiontableentry2 a:hover, .sectiontableentry1 a:hover, .sectiontableentry2 a.category:hover, .sectiontableentry1 a.category:hover {
	color: #333333;
	background: none;
	text-decoration:underline;
}

.search{
	/*height:40px;*/
	width:150px;
	/*position:relative;
	left:80%;
	display:inline;
	z-index: 1;*/
}

# .moduletable h2 {
	font: 150% Georgia, "Times New Roman", Times, serif;
	text-align:left;
	padding: 0px;
	position:relative;
	right:25px;
	}
	
#navcontainer .moduletable ul.menu li {
	/*display:inline;*/
	padding: 0px 3px;
	position:relative;
	left:73%;
	bottom: 33px;
	z-index:1;
	}
	
#wrapper .moduletable ul.menu li {
	background:none;
	display: inline;
	list-style-type: none;
	}
	
/* navbar */

/*
div .mod-preview-wrapper {
	float:left;
	}
*/
		
#navbar h1 a:visited,
#navbar h1 a:link {
	color: #FFFFFF;
	text-decoration: none;
	}
	
#navbar h1 a:hover{
	color: #FFFFFF !important;
	text-decoration:none;
	}

#header{
	background:#315F98;
	padding-top:0;
	margin-top:0;
	}

#navbar li,
#navbar ul,
#navbar a,
#navbar a:visited {
	margin:0;
	}
	
#navbar a:visited,
#navbar a:link {
	color: #CCCCCC;
	text-decoration: none;
	}
	
#navbar a:hover{
	color: #FFFFFF !important;
	text-decoration:underline;
	}

#navbar #current a:hover span,
#navbar #current a:active span{
	color: #FFFFFF !important;
	text-decoration:none;
	}	
	
#navbar h1{
	padding: 3px 0;
	font: bold Verdana, Arial, Helvetica, sans-serif;
	position:relative;
	bottom: 0.3em;
	}
	
ul #menu li a span {
	padding: 3px 0;
	}

#navbar .moduletable ul {
	position:relative;
	right:5em;
	}
	
.menu li {
	float:left;
	display: inline;
	padding-right:10px;
	font-size:.9em;
	}
	
.moduletable p {
	float:left;
	}
	
div #mainbody .inside li {
	position:relative;
	left:2%;
	}
	
div #mainbody .inside a:hover {
	text-decoration:underline;
	}
	
#user1 {
	position:relative;
	left:165px;
	top:10px;
	width:600px:
	}

table.fb_header {
	position:relative;
	left:105px;
	bottom:57px;
	width:885px;
	border-left: #ccc solid 3px;
	}
/*
th.fb_header_th_2 {
	display:none;
	}*/
	
div.fb__bt_cvr1 {
	position:relative;
	bottom:33px;
	}

#fb_bottomarea {
	clear:both;
	/*display:none;*/
	}
/*
.th-1 fb_sectiontableheader,
.th-3 fb_sectiontableheader,
.th-5 fb_sectiontableheader {
	display:none;
	}*/

div.fb__bt_cvr5 {
	float:left;
	width:330px;
	position:relative;
	bottom:10px;
	}
	
div.fb_forum-pathway {
	position:relative;
	bottom:40px;
	}

td.td-3,
td.td-4, 
.fb_sectiontableheader,
.fb_sectiontableheader {
	display:none !important;
	}

.fb_latest-subject-by  {
	display:none;
	}
div.designer div.moduletable,
p.tunnisteet {
	display:block;
	float:none;
	/*position:relative;
	bottom:13px;*/
	}

/* laittaa yläpalkin näkyviin */
.hideshow,
#topprofilebox_tbody,
tbody#topprofilebox_tbody,
#topprofilebox_tbody,
#BoxSwitch_topprofilebox__topprofilebox_tbody {
	display:block !important;
	}

table.fb_profilebox {
	position:relative;
	bottom:58px;
	left:110px;
	width:880px;
	height:41px;
	background:#8FB456;
	border-left: #CCCCCC solid 3px;
	font:11px !important;
	}

#mainbody .inside #fireboard table.fb_profilebox tr.fb_sectiontableentry1 td,
table.fb_profilebox tr.fb_sectiontableentry1 {
		background:#8FB456 !important;
		color:#ffffff;
		}

#topprofilebox_tbody {
	background:#8FB456 !important;
	}

.fb_profilebox a {
	font:11px !important;
	}

.fbm img {
	height:0px;
	width:0px;
	display:none;
	}

/*tr.fb_threadview_row td img {
	display:none;
	}*/

div.forum-pathway-2 small,
span.fb_totalfavorite,
div.fb_smalltext,
tr.fb_threadview_row,
div.viewcover,
div#fb_ft-cover,
div.forumtools_content {
	display:none;
	}
